Skip to main content

speechGetAvailableEngines

Type

handler

Summary

Get the available text to speech engines

Syntax

speechGetAvailableEngines()

Description

Use speechGetAvailableEngines to obtain details of available text to speech engines. Each element has a name and a label key:

  • name: A name for the text to speech engine. Use this name with the speechSetEngine command.
  • label: A localized label for the text to speech engine

Examples

    local tEngines
put speechGetAvailableEngines() into tEngines

local tFliteAvailable
repeat for each element tEngine in tEngines
if "edu.cmu.cs.speech.tts.flite" is tEngine["name"] then
put true into tFliteAvailable
exit repeat
end if
end repeat

Compatibility and Support

OS

android

Platforms

mobile